package cn.tedu.medicalmanagementsystem.escort.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class EscortUpdate {
    private String profile; // 个人简介

    private String oldPassword; // 旧密码

    @Size(min = 6, max = 20, message = "密码长度需在6~20字符之间")
    private String newPassword; // 新密码
}
